﻿using System.Data;
using org.se.fs.presenter.Library;

namespace org.se.fs.presenter.IView.Template
{
    public interface ISubMenus
    {
        void Initialize();
        void TaskOnFetch(object source, FormEvent e);
        void TaskOnFetchLists(object source, FormEvent e);
        void TaskOnInsert(object source, FormEvent e);
        void TaskOnUpdate(object source, FormEvent e);
        void TaskOnDelete(object source, FormEvent e);
        void TaskOnToggle(object source, FormEvent e);
        DataTable Data { get; set; }
        void SetData();
        void Add();
        void Modify();
        bool Validate();
    }
}
